package com.fivefu.core.data.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 设备
 * </p>
 *
 * @author 
 * @since 2022-09-01 19:22:07
 */
@TableName("db_ffskyeye_device")
@ApiModel(value = "DbFfskyeyeDevice对象", description = "设备")
public class DbFfskyeyeDevice {

    @ApiModelProperty("自增ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("是否删除0否1是")
    private Integer isDelete;

    @ApiModelProperty("创建人")
    private String createdBy;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty("更新人")
    private String updatedBy;

    @ApiModelProperty("更新时间")
    private LocalDateTime updatedTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("设备唯一标识")
    private String deviceCode;

    @ApiModelProperty("平台设备唯一编码")
    private String platformDeviceCode;

    @ApiModelProperty("IP地址")
    private String deviceIp;

    @ApiModelProperty("端口号")
    private Integer devicePort;

    @ApiModelProperty("协议类型")
    private String protocolType;

    @ApiModelProperty("设备类型")
    private String deviceType;

    @ApiModelProperty("设备型号")
    private String deviceModel;

    @ApiModelProperty("设备名称")
    private String deviceName;

    @ApiModelProperty("设备序列号")
    private String deviceSerialNum;

    @ApiModelProperty("设备备注")
    private String deviceRemark;

    @ApiModelProperty("厂商")
    private String deviceManufacturer;

    @ApiModelProperty("在线状态")
    private Integer onlineStatus;

    @ApiModelProperty("设备网关")
    private String deviceGateway;

    @ApiModelProperty("媒体端口")
    private Integer mediaPort;

    @ApiModelProperty("域编号")
    private Long regionId;

    @ApiModelProperty("平台域唯一标识")
    private String platformRegionCode;

    @ApiModelProperty("平台标识")
    private String platformCode;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy;
    }

    public LocalDateTime getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(LocalDateTime updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public String getPlatformDeviceCode() {
        return platformDeviceCode;
    }

    public void setPlatformDeviceCode(String platformDeviceCode) {
        this.platformDeviceCode = platformDeviceCode;
    }

    public String getDeviceIp() {
        return deviceIp;
    }

    public void setDeviceIp(String deviceIp) {
        this.deviceIp = deviceIp;
    }

    public Integer getDevicePort() {
        return devicePort;
    }

    public void setDevicePort(Integer devicePort) {
        this.devicePort = devicePort;
    }

    public String getProtocolType() {
        return protocolType;
    }

    public void setProtocolType(String protocolType) {
        this.protocolType = protocolType;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceModel() {
        return deviceModel;
    }

    public void setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getDeviceSerialNum() {
        return deviceSerialNum;
    }

    public void setDeviceSerialNum(String deviceSerialNum) {
        this.deviceSerialNum = deviceSerialNum;
    }

    public String getDeviceRemark() {
        return deviceRemark;
    }

    public void setDeviceRemark(String deviceRemark) {
        this.deviceRemark = deviceRemark;
    }

    public String getDeviceManufacturer() {
        return deviceManufacturer;
    }

    public void setDeviceManufacturer(String deviceManufacturer) {
        this.deviceManufacturer = deviceManufacturer;
    }

    public Integer getOnlineStatus() {
        return onlineStatus;
    }

    public void setOnlineStatus(Integer onlineStatus) {
        this.onlineStatus = onlineStatus;
    }

    public String getDeviceGateway() {
        return deviceGateway;
    }

    public void setDeviceGateway(String deviceGateway) {
        this.deviceGateway = deviceGateway;
    }

    public Integer getMediaPort() {
        return mediaPort;
    }

    public void setMediaPort(Integer mediaPort) {
        this.mediaPort = mediaPort;
    }

    public Long getRegionId() {
        return regionId;
    }

    public void setRegionId(Long regionId) {
        this.regionId = regionId;
    }

    public String getPlatformRegionCode() {
        return platformRegionCode;
    }

    public void setPlatformRegionCode(String platformRegionCode) {
        this.platformRegionCode = platformRegionCode;
    }

    public String getPlatformCode() {
        return platformCode;
    }

    public void setPlatformCode(String platformCode) {
        this.platformCode = platformCode;
    }


    @Override
    public String toString() {
        return "DbFfskyeyeDevice{" +
                "id=" + id +
                ", isDelete=" + isDelete +
                ", createdBy='" + createdBy + '\'' +
                ", createdTime=" + createdTime +
                ", updatedBy='" + updatedBy + '\'' +
                ", updatedTime=" + updatedTime +
                ", remark='" + remark + '\'' +
                ", deviceCode='" + deviceCode + '\'' +
                ", platformDeviceCode='" + platformDeviceCode + '\'' +
                ", deviceIp='" + deviceIp + '\'' +
                ", devicePort=" + devicePort +
                ", protocolType='" + protocolType + '\'' +
                ", deviceType='" + deviceType + '\'' +
                ", deviceModel='" + deviceModel + '\'' +
                ", deviceName='" + deviceName + '\'' +
                ", deviceSerialNum='" + deviceSerialNum + '\'' +
                ", deviceRemark='" + deviceRemark + '\'' +
                ", deviceManufacturer='" + deviceManufacturer + '\'' +
                ", onlineStatus=" + onlineStatus +
                ", deviceGateway='" + deviceGateway + '\'' +
                ", mediaPort=" + mediaPort +
                ", regionId=" + regionId +
                ", platformRegionCode='" + platformRegionCode + '\'' +
                ", platformCode='" + platformCode + '\'' +
                '}';
    }
}
